package test;

public class Tourist {
	int age;
	
	public int buyTicket(Ticket t){
		if(age > 70){
			t.price = 0;
		} else if(age < 7){
			t.price /= 2 ;
		}
		return t.price;
	}

}
